ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 11 - No. 14)

In the totaling example, how does the code update the total weight?
By assigning the current Weight to TotalWeight.
By subtracting the Weight from the TotalWeight.
By adding Weight to TotalWeight.
By multiplying Weight with TotalWeight.

Explication

It adds weight to the existing total.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc